import { ArticleSchema } from '../article';
import { BaseColumns } from '../base';
export interface ArticleCategorySchema extends BaseColumns {
  // 文章分类名称
  categoryName: string;

  // 文章分类编码
  categoryCode: string;

  // 父级分类
  parent?: ArticleCategorySchema;

  // 子级分类
  children?: ArticleCategorySchema[];

  articles?: ArticleSchema[];
}
